﻿using System.Data;

using DAL;

namespace BLL
{
    public  class PaymentBLL
    {
        public PaymentBLL()
        { }

        /// <summary>
        /// 获得数据列表
        /// </summary>
        public DataSet GetAllPayment()
        {
            return PaymentDAL.GetAllPayment();
        }

        public int AddPayment(int activity_id, float payment_money, int payment_count)
        {
            return PaymentDAL.AddPayment(activity_id,payment_money  ,payment_count);
        }

        public DataSet GetPaymentByUID(string userID)
        {
            return PaymentDAL.GetPaymentByUID(userID);
        }

    }
}
